export type AnyObject = Record<PropertyKey, any>;

export type WTableProps<T = any> = {
	height?: number;
	rowKey?: string;
	columns: ColumnType[];
	dataSource?: T[];
};

export interface ColumnType {
	title: string;
	key: string;
	width?: number;
	minWidth?: number;
	maxWidth?: number;
	resizable?: boolean;
	ellipsis?: boolean;
}
